package com.qfedu.ssm.dao;

import com.qfedu.ssm.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {

    User selectUserByNameAndPwd(@Param("email") String username,@Param("pwd") String password);

    int insert(User user);

    User selectUserByEmail(@Param("email") String email);



    List<User> select();
}
